package com.qys.livesMall.shop.modal.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @packageName:
 * @className:ShopPurchaseDto
 * @Description:
 * @author:guomx
 * @date:2023/6/2015:52
 */
@Data
public class ShopPurchaseDto {
    @Schema(description = "id")
    private Long Id;
    @Schema(description = "skuId")
    private Long skuId;
    @Schema(description = "商铺id")
    private Long shopId;
    @Schema(description = "商铺名字")
    private String shopName;
    @Schema(description = "商品名字")
    private String goodsName;
    @Schema(description = "支付方式")
    private Integer payType;
    @Schema(description = "采购单价")
    private BigDecimal price;
    @Schema(description = "采购数量")
    private Integer totalNum;
    @Schema(description = "下单时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

}
